import Vue from 'vue'
import Router from 'vue-router'
// import {store} from "../vuex/store"

import Test from '../test/test'

import Home from './home'
import User from './user'

Vue.use(Router)

const routes = [
  {path:'/',redirect:'/home'},
  {path:'/test',component:Test},
  Home,
  User
]

export const router = new Router({
  routes
})
